package com.turing.post.cardmanagement.util;

import java.math.BigInteger;
import java.util.List;

import javax.ejb.Local;
import javax.ejb.Remote;

import com.turing.post.util.PCPSApplicationException;

/**
 * 卡种类绑定商圈业务接口
 * @author zxppanda
 *
 */
@Remote
@Local
public interface CardClassicBindDistrictDao {

	public void insertCardClassicBindDistrict(CardClassicBindDistrict ccbd)
			throws PCPSApplicationException;

	/**
	 * 根据组合主键查询
	 * 
	 * @param ccbd
	 * @return
	 */
	public CardClassicBindDistrict getCardClassicBindDistrictByPk(
			CardClassicBindDistrict ccbd);

	/**
	 * 根据卡种类查询已绑定的商圈
	 * 
	 * @param cardClassicId
	 * @return
	 */
	public List<CardClassicBindDistrict> getCardClassicBindDistrictListByCardClassicId(
			BigInteger cardClassicId);

	/**
	 * 绑定
	 * 
	 * @param ccbdList
	 */
	public void insertCardClassicBindDistrict(BigInteger cardClassicId,
			BigInteger[] arrInt) throws PCPSApplicationException;

	/**
	 * 删除
	 * 
	 * @param ccbd
	 */
	public void deleteCardClassicBindDistrict(BigInteger cardClassicId)
			throws PCPSApplicationException;
}
